package handler;

import controller.SocketServerHandler;
import dto.ActionDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import service.Store;

import java.io.IOException;
import java.io.ObjectOutputStream;

public interface ActionHandler {
    final Logger LOGGER = LoggerFactory.getLogger(SocketServerHandler.class);

    void handle(Store store, ActionDTO dto, ObjectOutputStream oos) throws IOException;
}
